<title>Test for single title change</title>
<script>
if (window.testRunner)
    testRunner.waitUntilDone();

document.querySelector('title').appendChild(document.createTextNode(" - part II"));
function runTests() {
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.dumpTitleChanges();
    }
    document.querySelector('title').text = "new";
    if (window.testRunner)
        testRunner.notifyDone();
}
</script>
<body onload="setTimeout(runTests, 0);" >
</body>
